package com.yykj.user.center.server.form;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author chenl
 * @version 1.0
 * @date 2021/10/30 22:08
 */
@Data
public class EvaluationForm {

    /*@NotBlank(message = "请传入患者ID")
    @ApiModelProperty("患者ID")
    private String patientId;

    @NotBlank(message = "请传入医生ID")
    @ApiModelProperty("医生ID")
    private String doctorId;*/

    @ApiModelProperty("问诊Id")
    private String consultationId;

    @NotNull(message = "请输入分数")
    @ApiModelProperty("分数")
    private Integer score;

    @NotBlank(message = "请编写评论")
    @ApiModelProperty("评论")
    private String comment;


}
